<?php

//SESSION ID
define('SESSION_ID', 'blg',	true);

//MISCELLANEOUS
define('DS', DIRECTORY_SEPARATOR, true);

//SECURITY
define('SALT', 					'f9slfo37fn27',		true);
define('SALT_VALIDATION', 		'8j3h181n92cp',		true);
define('SECURITY_TS_FIELD',		'__blg_ts',			true);
define('SECURITY_KEY_FIELD',	'__blg_key',		true);
define('SECURITY_MAX_ELAPSED',	60,					true);

//USERS
define('ADMIN_LOGGED', 		2, 					true);
define('USER_LOGGED', 		1, 					true);
define('VISITOR_LOGGED', 	0, 					true);

//ACCESS ID
define('ACCESS_DEFAULT',	-1,		true);	//As specified in another way
define('ACCESS_PRIVATE', 	 0,		true);	//ONLY ME (and admnistrators)
define('ACCESS_LOGGED_IN', 	 1,		true);	//ONLY LOGGED IN USERS (and admnistrators)
define('ACCESS_PUBLIC', 	 2,		true);	//EVERYONE
define('ACCESS_FRIENDS', 	-2,		true);	//MY FRIENDS
define('ACCESS_MEMBERS', 	-3,		true);	//MEMBERS of a group

//CONTEXT
define('CONTEXT_HTML', 		'HTML',		true);
define('CONTEXT_JS', 		'JS',		true);
define('CONTEXT_CSS', 		'CSS', 		true);
define('CONTEXT_ACTION', 	'ACTION',	true);
define('CONTEXT_ACCESS', 	'ACCESS', 	true);

//DATE FORMATS
define('DATE_SHORT', 	"d/m/y", 	true);
define('DATE_LONG', 	"d/m/Y", 	true);

//RELATIONSHIP TYPES
define('RELATIONSHIP_FRIENDS', 		'are_friends',	true);
define('RELATIONSHIP_IS_MEMBER', 	'is_member',	true);

//ENTITIES TYPES
define('TYPE_COMMENT', 			'comment',		true);
define('TYPE_MESSAGE', 			'message',		true);
define('TYPE_MESSAGE_RECEIVED',	'message',		true);
define('TYPE_MESSAGE_SENT', 	'message',		true);

//ENGINE MISCELANEOUS
define('EMPTY_PAGE', 	'empty_page',		true);
define('PAGE_URL_VARS',	'page_url_vars',			true);

//FILES
define('MODE_READ', 	'R', 	true);
define('MODE_WRITE', 	'W', 	true);
define('MODE_RW', 		'RW', 	true);


